package mybatis.pojo;

public class Student {
    private int studentno;
    private String loginPwd;
    private String studentName;
    private int Sex;
    private int gradeId;
    private String phone;
    private String address;
    private String bornDate;
    private String email;
    private String identityCard;

    public void setAddress(String address) {
        this.address = address;
    }

    public void setSex(int sex) {
        Sex = sex;
    }

    public void setBornDate(String bornDate) {
        this.bornDate = bornDate;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public void setStudentno(int studentno) {
        this.studentno = studentno;
    }

    public String getAddress() {
        return address;
    }

    public String getStudentName() {
        return studentName;
    }

    public int getGradeId() {
        return gradeId;
    }

    public int getSex() {
        return Sex;
    }

    public int getStudentno() {
        return studentno;
    }

    public String getBornDate() {
        return bornDate;
    }

    public String getEmail() {
        return email;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public String getPhone() {
        return phone;
    }
    public Student(int no,String loginPwd,String name,int sex,int gradeId,String phone,String address,String bornDate,String email,String identityCard){
        setStudentno(no);
        setLoginPwd(loginPwd);
        setStudentName(name);
        setSex(sex);
        setGradeId(gradeId);
        setPhone(phone);
        setAddress(address);
        setBornDate(bornDate);
        setEmail(email);
        setIdentityCard(identityCard);
    }
    public Student(){
    }
}
